package com.gsdkjgpt4.sys.service;

import com.gsdkjgpt4.sys.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rendong
 * @since 2024-01-18
 */
public interface IUserService extends IService<User> {
    Map<String, Object> login(User user);

    Map<String, Object> getUserInfo(String token);

    Map<String, Object> selectByUserId(int userId);

    Map<String, Object> updateUserName(Integer userId, String userName, String passWord);

    Map<String, Object> updatePosition(Integer userId);

    Map<String, Object> limitedNumber(Integer userId, Integer limitedNumber);

    Map<String, Object> signUp(String userName, String passWord);
}
